home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 28
/
Volume 28 - JOGO DISK .iso
/
Games
/
ansel_adams_leaves.swf
/
scripts
/
DefineButton2_54
/
BUTTONCONDACTION on(release).as
< prev
Wrap
Text File
|
2006-09-25
|
438b
|
17 lines
on(release){
stopDrag();
target = this._droptarget;
clp = eval("/:currentlydragging").substr(2,2);
tgt = target.substr(3,2);
if(clp == tgt)
{
_root.soundclip.gotoAndPlay("playfit");
_root.completed += 1;
iAmInPlace = true;
clip_x = _root[_root.currentlydragging + "_x"];
clip_y = _root[_root.currentlydragging + "_y"];
this._x = clip_x;
this._y = clip_y;
}
}